home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmeeeeDDDDrrrraaaawwwwSSSShhhhaaaaddddoooowwwwssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeDDDDrrrraaaawwwwSSSShhhhaaaaddddoooowwwwssss((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- XXXXmmmmeeeeDDDDrrrraaaawwwwSSSShhhhaaaaddddoooowwwwssss - Draws a Motif-style, three-dimensional
- shadow around a widget
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/DrawP.h>
- vvvvooooiiiidddd XXXXmmmmeeeeDDDDrrrraaaawwwwSSSShhhhaaaaddddoooowwwwssss(
- DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,
- DDDDrrrraaaawwwwaaaabbbblllleeee ddddrrrraaaawwwwaaaabbbblllleeee,
- GGGGCCCC ttttoooopppp____ggggcccc,
- GGGGCCCC bbbboooottttttttoooommmm____ggggcccc,
- PPPPoooossssiiiittttiiiioooonnnn xxxx,
- PPPPoooossssiiiittttiiiioooonnnn yyyy,
- DDDDiiiimmmmeeeennnnssssiiiioooonnnn wwwwiiiiddddtttthhhh,
- DDDDiiiimmmmeeeennnnssssiiiioooonnnn hhhheeeeiiiigggghhhhtttt,
- DDDDiiiimmmmeeeennnnssssiiiioooonnnn sssshhhhaaaaddddoooowwww____tttthhhhiiiicccckkkknnnneeeessssssss,
- uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr sssshhhhaaaaddddoooowwww____ttttyyyyppppeeee);
-
- VVVVEEEERRRRSSSSIIIIOOOONNNN
- This page documents Motif 2.1.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- XXXXmmmmeeeeDDDDrrrraaaawwwwSSSShhhhaaaaddddoooowwwwssss places a three-dimensional, Motif-style
- shadow around a widget. This shadow is one of the
- fundamental visuals that gives Motif widgets their
- characteristic look and feel.
-
- _d_i_s_p_l_a_y Specifies the display.
-
- _d_r_a_w_a_b_l_e Specifies the drawable to draw the shadow around.
-
- _t_o_p__g_c Specifies the graphics context for the upper-left
- portion of the shadow.
-
- _b_o_t_t_o_m__g_c Specifies the graphics context for the bottom-
- right portion of the shadow.
-
- _x Specifies the x-coordinate of the leftmost point
- of the shadow.
-
- _y Specifies the y-coordinate of the top of the
- shadow.
-
- _w_i_d_t_h Specifies the width of the shadow rectangle, in
- pixels.
-
- _h_e_i_g_h_t Specifies the height of the shadow rectangle, in
- pixels.
-
- _s_h_a_d_o_w__t_h_i_c_k_n_e_s_s
- Specifies the shadow thickness in pixels. The
- shadow is drawn from the outside in. The
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmeeeeDDDDrrrraaaawwwwSSSShhhhaaaaddddoooowwwwssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmeeeeDDDDrrrraaaawwwwSSSShhhhaaaaddddoooowwwwssss((((3333XXXX))))
-
-
-
- dimensions of the outside of the shadow are
- described by _x, _y_x, _w_i_d_t_h, and _h_e_i_g_h_t.
-
- _s_h_a_d_o_w__t_y_p_e
- Specifies the kind of shadow to render. The
- possible values are as follows:
-
- XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____IIIINNNN
- Draws shadow so that it appears inset.
- This means that the bottom shadow
- visuals and top shadow visuals are
- reversed.
-
- XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____OOOOUUUUTTTT
- Draws shadow so that it appears outset.
-
- XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____EEEETTTTCCCCHHHHEEEEDDDD____IIIINNNN
- Draws shadow by using a double line to
- give the effect of a line etched into
- the window. The thickness of the double
- line is equal to the value of
- _s_h_a_d_o_w__t_h_i_c_k_n_e_s_s.
-
- XXXXmmmmSSSSHHHHAAAADDDDOOOOWWWW____EEEETTTTCCCCHHHHEEEEDDDD____OOOOUUUUTTTT
- Draws shadow by using a double line to
- give the effect of a line coming out of
- the window. The thickness of the double
- line is equal to the value of
- _s_h_a_d_o_w__t_h_i_c_k_n_e_s_s.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD
- XXXXmmmmeeeeDDDDrrrraaaawwwwPPPPoooollllyyyyggggoooonnnnSSSShhhhaaaaddddoooowwww(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 10/3/02)
-
-
-
-